package mdm.com.web.entity;

import java.util.Date;
import java.util.List;
import java.util.Set;

import mdm.com.web.common.AbstractBean;


public class Role extends AbstractBean {
    private Integer cRoleId;

    private String cRoleName;

    private String createTime;

    private String updateTime;

    private String remark;

    private Short state;

    private String startDate;

    private String endDate;

    private Set<Integer> cPermissionIds;

    // add-jlq-2018-2-23
    private Set<Integer> cDetailIds;

    private String cDepartmentName;

    private List<Permission> cPermissions;

    private List<RolePermission> lrolepermission;

    public List<RolePermission> getLrolepermission() {
        return lrolepermission;
    }

    public void setLrolepermission(List<RolePermission> lrolepermission) {
        this.lrolepermission = lrolepermission;
    }

    public Set<Integer> getcDetailIds() {
        return cDetailIds;
    }

    public void setcDetailIds(Set<Integer> cDetailIds) {
        this.cDetailIds = cDetailIds;
    }

    public String getcDepartmentName() {
        return cDepartmentName;
    }

    public void setcDepartmentName(String cDepartmentName) {
        this.cDepartmentName = cDepartmentName;
    }

    public Set<Integer> getcPermissionIds() {
        return cPermissionIds;
    }

    public void setcPermissionIds(Set<Integer> cPermissionIds) {
        this.cPermissionIds = cPermissionIds;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getcRoleId() {
        return cRoleId;
    }

    public void setcRoleId(Integer cRoleId) {
        this.cRoleId = cRoleId;
    }

    public String getcRoleName() {
        return cRoleName;
    }

    public void setcRoleName(String cRoleName) {
        this.cRoleName = cRoleName == null ? null : cRoleName.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public List<Permission> getcPermissions() {
        return cPermissions;
    }

    public void setcPermissions(List<Permission> cPermissions) {
        this.cPermissions = cPermissions;
    }

}